# -*- coding: utf-8 -*-
# @Time    : 2021/11/6 11:29
# @Author  : ydh
# @File    : PubHouse.py
# @Software: PyCharm
from django.db import models

"""
出版社信息表
"""


class PubHouse(models.Model):
    pub_name = models.CharField(unique=True, max_length=255, verbose_name="出版社名称", null=True, blank=True)
    pub_desc = models.TextField(verbose_name="出版社描述", null=True, blank=True)

    class Meta:
        db_table = "TAB_PUB_HOU"
        verbose_name = "出版社信息表"

    def __str__(self):
        return f"{self.pub_name}"
